
use tool::tool_date::DateTime;
use tool::tool_result::Error;
static max_date:&str="2025-11-3 23:59:59";
pub fn is_expire()->Result<bool,Error>{
    let date= DateTime::to_datetime(max_date)?;
    let xc= date.get_diff_time_sec(&DateTime::now());
    Ok(xc<0)
}